package manager.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(url = "https://floor.jd.com/",name="shopIndexFloor")
public interface ShopIndexFloorThirdService {
    /**
     * 获取京东首页的banner条
     * @return
     */
    @RequestMapping(value="/recommend-v20/top_monetize/get?source=pc-home&callback=jsonpMonetizeTopAndTreasure",method= RequestMethod.GET)
    String getTopMonetize();
    /**
     * 获取热门信息,用于搜索框关键字展示
     */
    @RequestMapping(value = "/user-v20/hotwords/get?source=pc-home")
    String gethHotwords();
    /**
     * 获取轮播图信息
     */
    @RequestMapping(value = "/recommend-v20/focus_monetize/get?source=pc-home&callback=jsonpFocus")
    String getFocusMonetize();
    /**
     * 获取右边轮播图
     */
    @RequestMapping(value = "/recommend-v20/today_monetize/get?source=pc-home&callback=jsonpRecommend")
    String getTodayMonetize();
    /**
     * 获取京东特价的tab页签
     */
    @RequestMapping(value = "/recommend-v20/daily_speci_tab/get?source=pc-home&callback=jsonpSpecialOffer")
    String getDailySpeciTab();
    /**
     * 根据页签id获取特价
     */
    @RequestMapping(value = "/recommend-v20/daily_speci_data/get?source=pc-home&callback=jsonpSpecialOfferContent0")
    String getDailySpeciData(@RequestParam("id") String id);
    /**
     * 获取品牌闪购数据
     */
     @RequestMapping(value = "/recommend-v20/red_new/get?source=pc-home&pin=&callback=jsonpLightningBuy")
     String getLightningBuy();
    /**
     * 获取发现好物数据
     */
     @RequestMapping(value = "/recommend-v20/discover_goods/get?source=pc-home&pin=&callback=jsonpNiceGoods")
     String getDiscoverGoods();
    /**
     * 获取优惠卷数据
     */
     @RequestMapping(value = "/recommend-v20/coupon/get?source=pc-home&uuid=16200380803261966170261&area=19_1643_36178_0&callback=jsonpCoupon")
     String getCoupon();
    /**
     *获取好店数据
     */
     @RequestMapping(value = "/recommend-v20/haodian/get?source=pc-home&pin=&uuid=16200380803261966170261&area=19_1643_36178_0&callback=jsonpNiceShop&_=1620498099383")
     String getHaoDian();
    /**
     * 获取频道数据
     */
     @RequestMapping(value = "/recommend-v20/market_bill/get?source=pc_home&callback=jsonpMarket")
     String getMarketBill();
    /**
     * 获取频道数据
     */
     @RequestMapping(value = "/recommend-v20/new/get?source=pc-home&callback=jsonpNewArrival&_=1620952085733")
     String getNewArrival();
    /**
     * 获取推荐数据
     */
      @RequestMapping(value = "/user-v20/feed/get?pagesize=50&area=19_1607_40152_0&source=pc-home&callback=jsonpMore2Goods&_=1620968269225")
      String getRecommendGoods(@RequestParam("page") String page);

    /**
     * 获取Tab分类数据
     * @param page
     * @param type
     * @return
     */
      @RequestMapping(value = "/recommend-v20/feed_tab/get?pin=jd_6226186e08a29&uuid=1621221441011268953076&source=pc-home&callback=jsonpMoreTabGoods&_=1621240775009")
      String getRecommendTabGoods(@RequestParam("page") String page, @RequestParam("type") String type, @RequestParam("limit") String limit);
    /**
     * 获取活动数据
     */
     @RequestMapping(value = "/recommend-v20/enjoy_beta/get?source=pc-home&pin=&uuid=16217080299402138045809&type=S2&callback=jsonpActivity&_=1622123372292")
     String getActivity();
}
